package com.chendx.search.feign;

import com.chendx.model.behavior.dtos.BehaviorEntryDto;
import com.chendx.model.behavior.pojos.ApBehaviorEntry;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Created by chendx on 2022/3/16.
 */
@FeignClient("leadnews-behavior")
public interface BehaviorFeign {

    @PostMapping("/api/v1/behavior_entry")
    public ApBehaviorEntry findByUserIdOrEquipmentId(@RequestBody BehaviorEntryDto dto);
}
